package linear_enumeration;

public class basic1295 {

    public int findNumbers(int[] nums) {

        int num=0;
        for (int i = 0; i <nums.length ; i++) {
            int temp=0;
            while (nums[i]>0){
                    temp++;
                     nums[i]=nums[i]/10;
            }
            if (temp%2==0){
                num++;
            }

        }

        return  num;
    }


    public static void main(String[] args) {
        basic1295 basic1295 = new basic1295();
        System.out.println(basic1295.findNumbers(new int[]{12, 345, 2, 6, 7896}));

    }

}
